/**
 * @file CMSignalAction.h
 * @author jmdvirus
 * @date 2021-06-16 18:01:52
 */

#include "CMBacktraceSelf.h"

#ifndef JINDOU_MIDDLEWARE_CMSIGNALACTION_H
#define JINDOU_MIDDLEWARE_CMSIGNALACTION_H

typedef void *signal_action(int sig);

int init_signal(signal_action *callback);

void ignore_signal(int sig);

#endif // JINDOU_MIDDLEWARE_CMSIGNALACTION_H
